<?php

require_once("paths.php");
include(PATH_COMMON . "/common_init.php");

if (!$error->is_dev_mode())
{
	die("Access denied");
}

require_once(PATH_OPENID . "/_tests/tt/test_results.php");
require_once(PATH_OPENID . "/_tests/tt/test_loader.php");
require_once(PATH_OPENID . "/_tests/tt/base.test.php");

$test_results = new test_results();
$test_loader = new test_loader();
$test_loader->run();

header("Content-Type: text/html; charset=UTF-8");
echo $test_results->get_errors_html();

ob_end_flush();

?>